<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>社区交流</title>
    <link rel="stylesheet" href="ast/tlsq.css">
   <link rel='stylesheet' href='ast/message/message.min.css'>
   <script src='ast/message/message.min.js'></script>
<script src="ast/kindeditor/kindeditor-all.js"></script>
<script src="ast/kindeditor/lang/zh-CN.js"></script>
</head>
<body>
    <div class="search-container">
    <button style="margin-right: 10px;" id="creadt" onclick="addpost()">发帖</button>
        <input type="text" id="searchBox" placeholder="搜索帖子...">
        <button onclick="searchpost()">搜索</button>
    </div>
    <div id="post_rangs" class="post-container">
</div>
<div id="post_add"  class="post-add">
        <input type="text" id="title_post" placeholder="帖子标题">
</br>
        <textarea style="margin-top: 10px;" name="content" id="content" placeholder="帖子内容"></textarea>
    </br>
    <button onclick="outpost()">发布</button>
</div>
</body>
</html>
<script src="ast/postlist.js"></script>
<script language="javascript" type="text/javascript">
    if (window.self == window.top) {
        alert("暂无通行证");
        location.href = "./";
    }
</script>